package com.ruoyi.common.core.domain.entity;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 班组管理对象 w_class
 * 
 * @author wxd
 * @date 2023-01-05
 */
public class WClass extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    public WClass() {
    }

    public WClass(Long classId, String className, Long deptId) {
        this.classId = classId;
        this.className = className;
        this.deptId = deptId;
    }

    /** 班组编号 */
    private Long classId;

    /** 班组名称 */
    @Excel(name = "班组名称")
    private String className;

    /** 所属部门 */
    @Excel(name = "所属部门")
    private Long deptId;

    public void setClassId(Long classId) 
    {
        this.classId = classId;
    }

    public Long getClassId() 
    {
        return classId;
    }
    public void setClassName(String className) 
    {
        this.className = className;
    }

    public String getClassName() 
    {
        return className;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("classId", getClassId())
            .append("className", getClassName())
            .append("deptId", getDeptId())
            .toString();
    }
}
